import { defHttp } from '/@/utils/http/axios';

export enum Api {
  list = '/api-upms/sys/user/queryByOrgCodeForAddressList',
  positionList = '/api-upms/sys/position/list',
  queryDepartTreeSync = '/api-upms/sys/depart/sycn/list',
}
/**
 * 获取部门树列表
 */
export const queryDepartTreeSync = (params?) => defHttp.get({ url: Api.queryDepartTreeSync, params });
/**
 * 部门用户信息
 */
export const list = (params?) => defHttp.get({ url: Api.list, params });
/**
 * 职务list
 */
export const positionList = (params?) => defHttp.get({ url: Api.positionList, params });
